package com.okaixz.client.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.okaixz.client.mapper.AppUpgradeInfoMapper;
import com.okaixz.client.model.domain.AppUpgradeInfo;
import com.okaixz.client.service.IAppUpgradeInfoService;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author cdz
 * @since 2025-08-17
 */
@Service
public class AppUpgradeInfoServiceImpl extends ServiceImpl<AppUpgradeInfoMapper, AppUpgradeInfo> implements IAppUpgradeInfoService {

    @Override
    public AppUpgradeInfo getbyClientName(String clientname) {
        return lambdaQuery()
                .eq(AppUpgradeInfo::getClientName,clientname)
                .eq(AppUpgradeInfo::getStatus,1)
                .one();
    }
}
